﻿using RayDen.RayEngine.Core;

namespace RayDen.RayEngine.Engines.DirectLight {
    public class PathBuffer : PathBuffer<DirectLightPathSampler> {

        public PathBuffer(){}

        public PathBuffer(int maxPaths, RayEngineScene scene, ImageFilmBase agg, SamplingContext sc)
            : base(maxPaths, scene, agg, sc)
        {
        }

        protected override PathSamplerBase CreatePathSampler()
        {
            return new DirectLightPathSampler() { SurfaceSampler = surfaceSampler, pathIntegrator = this, LightSampler = this.lightSampler };
        }

    }
}